package designpattern.factory.absfactory;

public class XMFactory implements AbsFactory {
    @Override
    public Phone productPhone(String brand) {
        return new XMPhone();
    }

    @Override
    public Router productRouter(String brand) {
        return new XMRouter();
    }
}
